package com.fzb.forum4j.controller;

import org.springframework.stereotype.Controller;

import com.fzb.forum4j.po.User;

@Controller("categoryAction")
public class CategoryAction extends CommonsAction<User>{

	/**
	 * 资讯的分类管理
	 */
	private static final long serialVersionUID = 1L;

	/* 管理才具有
	 * @see com.fzb.forum4j.controller.CommonsAction#add()
	 */
	@Override
	public String add() {
		if(getRequest().getSession().getAttribute("adminMsg")==null){
			return "403";
		}
		return super.add();
	}
}
